package com.bestcem.xm.member.grpc.client.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author ming.xue <ming.xue@idiaoyan.com>
 * @desc 
 * @date 2021-08-26
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class QdesQuestionDTO {
    /**
     * id
     */
    private String id;

    /**
     * type
     */
    private String type;

    /**
     * gid
     */
    private Integer gid;

    /**
     * title
     */
    private String title;

    /**
     * custom_qtype
     */
    @JsonProperty("custom_qtype")
    private String customQtype;

    /**
     * cid
     */
    private String cid;

    /**
     * items
     */
    private List<QdesQuestionOptionDTO> items;

    /**
     * row_items
     */
    private List<QdesQuestionOptionDTO> rowItems;

    /**
     * option_list
     */
    private List<QdesCascaderOptionDTO> optionList;

    /**
     * tag_list
     */
    @JsonProperty("tag_list")
    private List<String> tags;
}
